package wave.common.pojo.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author 夕下风波
 * @date 2024-12-03 21:57
 * @description 响应结果状态枚举
 */
@AllArgsConstructor
@Getter
public enum RStatusEnum {

    SUCCESS(0, "操作成功！"),
    FAIL(100, "操作失败！"),
    SYS_ERROR(101, "系统错误！"),
    AUTH_FAIL(102, "权限校验失败！"),
    SIGN_IN_FAIL(103, "账号或密码错误！");

    //状态码
    private final Integer code;
    //错误提示
    private final String text;

}
